package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseBaseDTO;
import com.xuecheng.api.content.model.qo.QueryCourseBaseModel;
import com.xuecheng.api.content.model.vo.CourseAuditVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;


/**
 * 课程运营API
 */
@Api("课程运营审核api")
@Validated
public interface CourseAuditApi {

    @ApiOperation("课程条件分页查询-运营")
    PageVO<CourseBaseDTO> queryCourseList(PageRequestParams params, QueryCourseBaseModel model);

    @ApiOperation("课程审核-运营")
    void approveCourse(@Valid CourseAuditVO auditVO);

}
